package com.example.administrator.dc.Service;

import com.example.administrator.dc.Bean.EditGender;
import com.example.administrator.dc.Bean.EditSchool;
import com.example.administrator.dc.Bean.EditUserName;
import com.example.administrator.dc.Bean.MyFollow;
import com.example.administrator.dc.Bean.Myphoto;
import com.example.administrator.dc.Bean.School;
import com.example.administrator.dc.Bean.Usermessage;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/8/15.
 */

public interface UserService {
    //显示个人信息
    @GET("best")
    Call<List<School>> getuserlist() ;

    @GET("userinfo")
    Call<Usermessage> usermessage(@Query("uid") String uid);

    @GET("home")
    Call<Myphoto> myphoto(@Query("uid") String uid);
    //我的关注
    @GET("followlist")
    Call<MyFollow>followlist(@Query("uid")String uid);
   //修改性别

    @GET("edit_gender")
    Call<EditGender>editgender(@Query("uid")String uid,
                               @Query("gender")String gender);



    @GET("edit_aliasname")
    Call<EditUserName>editname(@Query("uid")String uid,
                                 @Query("aliasname")String name);


    @GET("edit_school")
    Call<EditSchool>editschool(@Query("uid")String uid,
                               @Query("school")String school);
}






